<template>
  <view>
    <web-view :src="url"/>
  </view>
</template>

<script setup>
  import {onLoad} from '@dcloudio/uni-app'
  import {ref} from 'vue'

  const url = ref('')
  onLoad((res) => {
    if(res.data) {
      url.value = JSON.parse(decodeURIComponent(res.data)).url
    }
  })
</script>


<style scoped lang="scss">

</style>
